DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomDataSet Class / Write Method / Write(IEnumerable<Byte[]>,String,Int32) Method

Collection of byte arrays to write large dataset to

Specifies the full UID of the transfer syntax with which the file is to be saved when Part 10 format is used. If omitted, the little-endian explicit VR transfer syntax is used.

Size of each individual buffers in the collection






In This Topic
    Write(IEnumerable<Byte[]>,String,Int32) Method
    In This Topic
    Writes dataset to an an enumerable byte arrays with specified transfer syntax and byte array length. This is useful if you want to have byte arrays for large data. FileStream or something similar would be preferable than holding everything in memory.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Write( _
       ByRef arrays As System.Collections.Generic.IEnumerable(Of Byte()), _
       ByVal TransferSyntax As System.String, _
       Optional ByVal pagedBufferSize As System.Integer _
    ) 
    'Usage
     
    
    Dim instance As DicomDataSet
    Dim arrays As System.Collections.Generic.IEnumerable(Of Byte())
    Dim TransferSyntax As System.String
    Dim pagedBufferSize As System.Integer
     
    instance.Write(arrays, TransferSyntax, pagedBufferSize)
    public void Write( 
       out System.Collections.Generic.IEnumerable<byte[]> arrays,
       System.string TransferSyntax,
       System.int pagedBufferSize
    )
    public procedure Write( 
       Out  arrays: System.Collections.Generic.IEnumerable;
        TransferSyntax: System.String;
        pagedBufferSize: System.Integer
    ); 
    public function Write( 
       arrays : System.Collections.Generic.IEnumerable,
       TransferSyntax : System.String,
       pagedBufferSize : System.int
    );
    public: void Write( 
       [PARAMFLAG::Out] System.Collections.Generic.IEnumerable<byte[]>* arrays,
       System.string* TransferSyntax,
       System.int pagedBufferSize
    ) 
    public:
    void Write( 
       [Out] System.Collections.Generic.IEnumerable<array<byte>>^ arrays,
       System.String^ TransferSyntax,
       System.int pagedBufferSize
    ) 

    Parameters

    arrays

    Collection of byte arrays to write large dataset to

    TransferSyntax

    Specifies the full UID of the transfer syntax with which the file is to be saved when Part 10 format is used. If omitted, the little-endian explicit VR transfer syntax is used.

    pagedBufferSize
    Size of each individual buffers in the collection
    Remarks

    Data may subsequently be read by the Read method or by other DICOM software.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also